//
//  ViewController.h
//  08 Cells 2
//
//  Created by willter on 13-2-25.
//  Copyright (c) 2013年 willter. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController<UITableViewDataSource, UITableViewDelegate>
@property (retain, nonatomic) IBOutlet UITableView *table;
@property (retain, nonatomic) IBOutlet UISearchBar *search;
@property (retain, nonatomic) NSDictionary *allNames;
@property (retain, nonatomic) NSMutableDictionary *names;
@property (retain, nonatomic) NSMutableArray *keys;
@property (nonatomic) BOOL isSearching;
- (void)resetSearch;
- (void)handleSearchForTerm:(NSString *)searchTerm;
@end
